#ifndef __BSP_MOTOR_CTRL_H__
#define __BSP_MOTOR_CTRL_H__


#ifdef	__cplusplus
extern "C" {	/* allow C++ to use these headers */
#endif	/* __cplusplus */

#include "ingsoc.h"

void timer0_pwm0_reload(uint16_t frequency, uint8_t duty);
void timer0_pwm1_reload(uint16_t frequency, uint8_t duty);
void timer1_pwm0_reload(uint16_t frequency, uint8_t duty);
void timer1_pwm1_reload(uint16_t frequency, uint8_t duty);
void fly_ctrl(uint8_t motor_mask, uint8_t power);
void motor_setup(void);
#ifdef __cplusplus
} /* allow C++ to use these headers */
#endif	/* __cplusplus */

#endif
